package com.jeespring.pay.service;

import com.jeespring.pay.dao.PayDao;
import com.jeespring.entity.Pay;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PayService {
    @Autowired
    private PayDao payDao;

    public int insert(Pay pay){
        return payDao.insert(pay);
    }

    public Pay selectById(Long id){
        return payDao.selectById(id);
    }
}
